<template>
	<view class="mine">
		<u-navbar bgColor="rgba(0,0,0,0)" :fixed="false">
			<view slot="left" class="align-center"></view>
		</u-navbar>
		<view class="align-center" style="margin-bottom: 80rpx">
			<view style="margin-right: 20rpx">
				<image :src="obj.image[0]" style="border-radius: 50%; width: 160rpx; height: 160rpx"></image>
			</view>
			<view class="">
				<view class="align-center">
					<view style="font-size: 48rpx; color: #333333; margin-right: 38rpx">{{ obj.name }}</view>
					<!-- <u-icon name="edit-pen" color="#999" size="50"></u-icon> -->
				</view>
				<!-- <view style="font-weight: 400; font-size: 28rpx; color: #999999">ID：{{ obj.id }}</view> -->
			</view>
		</view>
		<!-- <view class="flex-between1" style="margin-bottom: 60rpx">
			<view class="align-center">
				<image src="@/static/mine/jd1.png" style="width: 112rpx; height: 112rpx; margin-right: 40rpx"></image>
				<view style="font-size: 32rpx; color: #333333">我的基地</view>
			</view>
			<image src="@/static/mine/mineright.png" style="width: 16rpx; height: 28rpx"></image>
		</view> -->
		<!-- <view class="flex-between1" style="margin-bottom: 60rpx" @click="$tools.navigite('./myldz')">
			<view class="align-center">
				<image src="@/static/mine/jd2.png" style="width: 112rpx; height: 112rpx; margin-right: 40rpx"></image>
				<view style="font-size: 32rpx; color: #333333">我的劳动者</view>
			</view>
			<image src="@/static/mine/mineright.png" style="width: 16rpx; height: 28rpx"></image>
		</view> -->
		<view @click="$tools.playphone('18911724966')" class="flex-between1" style="margin-bottom: 60rpx">
			<view class="align-center">
				<image src="@/static/mine/jd3.png" style="width: 112rpx; height: 112rpx; margin-right: 40rpx"></image>
				<view style="font-size: 32rpx; color: #333333">联系客服</view>
			</view>
			<image src="@/static/mine/mineright.png" style="width: 16rpx; height: 28rpx"></image>
		</view>
		<view class="flex-between1" style="margin-bottom: 60rpx" @click="$tools.navigite('./setting')">
			<view class="align-center">
				<image src="@/static/mine/jd4.png" style="width: 112rpx; height: 112rpx; margin-right: 40rpx"></image>
				<view style="font-size: 32rpx; color: #333333">设置</view>
			</view>
			<image src="@/static/mine/mineright.png" style="width: 16rpx; height: 28rpx"></image>
		</view>
		<view class="flex-between1" style="margin-bottom: 60rpx" @click="$tools.navigite('./mysf')">
			<view class="align-center">
				<image src="@/static/mine/jd5.png" style="width: 112rpx; height: 112rpx; margin-right: 40rpx"></image>
				<view style="font-size: 32rpx; color: #333333">切换身份</view>
			</view>
			<image src="@/static/mine/mineright.png" style="width: 16rpx; height: 28rpx"></image>
		</view>
		<Tabbar2 :value="2"></Tabbar2>
	</view>
</template>

<script>
export default {
	data() {
		return {
			obj: {}
		};
	},
	onLoad() {
		this.init();
	},
	methods: {
		init() {
			this.$request('front/home/homeDetail').then((res) => {
				console.log(res, 'sss');
				this.obj = res.obj;
				this.obj.image = this.obj.image.split(',');
			});
		}
	}
};
</script>

<style lang="less" scoped>
.mine {
	padding: 0 32rpx;
}
</style>